<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Notifications\Notifiable;
use Laravel\Passport\HasApiTokens;

class AdminUser extends Base
{

    use HasApiTokens,Notifiable;

    public function findForPassport($username) {
        return $this->where('username', $username)->first();
    }
}
